package com.example.design.pattern.behavior.observer;

import java.util.Observable;

public class EventPublisher extends Observable {

    public void publishEvent(Object object) {
        setChanged();
        notifyObservers(object);
    }
}
